package top.ligongzi.hrm.service;

import top.ligongzi.hrm.domain.Tenant;
import top.ligongzi.hrm.dto.TenantEnteringDto;
import top.ligongzi.hrm.query.TenantQuery;
import com.baomidou.mybatisplus.service.IService;
import top.ligongzi.hrm.util.PageList;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaosang
 * @since 2021-01-31
 */
public interface ITenantService extends IService<Tenant> {

    PageList<Tenant> selectPageList(TenantQuery query);

    void entering(TenantEnteringDto dto);

    Map<String,Object> getEmpAndTenant(Long loginUserId);
}
